<?php $this->_extends('_layouts/cib_layout'); ?>

<?php $this->_block('metainfo'); ?>
    <title><?php if($currentNews) { echo $currentNews->title,' —— ',$currentNews->category->category; } else { echo '首页'; }?> —— 服务社会 —— 上海外国语大学国际工商管理学院</title>
    <meta name="Description" content="上海外国语大学国际工商管理学院,SISUCIB,服务社会,<?php if($currentNews) { echo $currentNews->category->category,' | ',$currentNews->title; } else { echo '首页'; }?>" />
    <meta name="Keywords"    content="上海外国语大学国际工商管理学院,SISUCIB,服务社会,<?php if($currentNews) { echo $currentNews->category->category,' | ',$currentNews->title; } else { echo '首页'; }?>" />
    <link rel="stylesheet" type="text/css" href="profiles/<?=Q::ini('appini/skin');?>/cib-socially.css" />
    <style type="text/css" media="all"><?=$css;?></style>
<?php $this->_endblock('metainfo'); ?>

<?php $this->_block('container'); ?>
<div id="container">
    <?php $this->_element('g-pieces/socially/g-pieces-socially-column-a');?>

    <div id="content">
    <?php if($currentNews != NULL) { ?>
        
        <?php $this->_element('g-pieces/newsnotice/g-pieces-newsnotice-news-title'); ?>
        <?php $this->_element('g-pieces/newsnotice/g-pieces-newsnotice-news-body'); ?>
        <?php $this->_element('g-pieces/newsnotice/g-pieces-newsnotice-news-attachments'); ?>
        
        <?php } else { ?>
        <img src="misc/socially-index.jpg" alt="服务社会" />
    <?php } ?>
    </div><!-- /content -->

    <?php $this->_element('g-pieces/socially/g-pieces-socially-column-b');?>
</div><!-- /container -->

<?php $this->_endblock('container'); ?>